package com.ruoyi.shop.service;

import com.ruoyi.shop.domain.Orders;

import java.util.List;

/**
 * ordersService接口
 *
 * @author ruoyi
 * @date 2025-06-08
 */
public interface IOrdersService
{
    /**
     * 查询orders
     *
     * @param orderid orders主键
     * @return orders
     */
    public Orders selectOrdersByOrderid(Long orderid);
    public Orders getOrdersByOrdersn(String ordersn);
    /**
     * 查询orders列表
     *
     * @param orders orders
     * @return orders集合
     */
    public List<Orders> selectOrdersList(Orders orders);

    /**
     * 新增orders
     *
     * @param orders orders
     * @return 结果
     */
    public int insertOrders(Orders orders);

    /**
     * 修改orders
     *
     * @param orders orders
     * @return 结果
     */
    public int updateOrders(Orders orders);

    /**
     * 批量删除orders
     *
     * @param orderids 需要删除的orders主键集合
     * @return 结果
     */
    public int deleteOrdersByOrderids(Long[] orderids);

    /**
     * 删除orders信息
     *
     * @param orderid orders主键
     * @return 结果
     */
    public int deleteOrdersByOrderid(Long orderid);
}
